
# 使用 replace
$a = 'i like tea' -replace 'tea', 'coffee'
Write-Host  '我是：' $a

# 使用 join
'127', '0', '0', '1' -join '.'

# Cmdlets与Pipeline

GET-WMIObject Win32_OperatingSystem | Select-Object -ExpandProperty Version | .\scripts\Format-WindowsVersion.ps1 -ShowBuild true

